Preoperative three-dimensional reconstruction